Remove some flags that clang doesn't understand (only when clang is used).
Still doesn't build though.
Remove -fcheck-new and -fpch-deps flags for all compilers, not only
clang. Requested by joerg.