check if the compiler is clang before using options that make older gcc complain
minor changes to avoid having older gcc versions complaining about strict aliasing