Fix precompilation issues