Have you experimented with (compile-enforce-module-constants #f) ?
(compile-enforce-module-constants #f)