Fix issues when changing visual studio config.

Now different .pch files are used for debug/release/etc in visual studio projects.

Before this change switching from debug/release in visual studio would result in lots of pch related errors until you do a rebuild.