Fix compile flags on GCC/Clang