compile clang check with less hardcore cflags, move check to top