Fixed cmake pch compilation when not builing from the top source folder.

This fixes #218 for me. Thanks to Gallaecio for poiting out. :)