Set the deliver keyword :keep-clos to t or :full-dynamic-definition to keep the code needed for dynamic definition in the image.
deliver
:keep-clos
t
:full-dynamic-definition
LispWorks Delivery User Guide - 13 Dec 2011