Fix build failing with PCH disabled.
Merge pull request #1438 from rohit-n/fix-pch

Fix build failing with PCH disabled.