support for virtual import in precompiled modules