PCH support for clang
Update to newer version of add_precompiled_header

Needed slight modification to support clang.