better support for precompilation