now can build with clang
on os x, clang needs different flags than gcc to generate and use precompiled headers