Optimization compiled code using safe, sane CFLAGS and CXXFLAGS