Detecting core-i5 cores, fixing compilation flags for CLANG