Set "Precompiled Header Uses Files from Build Directory" to false.