Fix building with PCH disabled.
Merge pull request #1649 from rohit-n/build-pch

Fix building with PCH disabled.