Fixed Compiler.pro and removed a few warnings