Use -c flag when building precompiled headers

Without -c, on my FreeBSD box both gcc 4.6 and 4.8 try to link instead of building PCH, failing with indefined reference to main().