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

Fix building with PCH disabled.