fixed pch and added env vars for compiler