Fix precompile memory_manager issue