Fix issues when changing visual studio config.

Now different .pch files are used for debug/release/etc in visual studio projects.
Merge pull request #1 from lukedodd/master

Fix issues when changing visual studio config.