simplify the compiler flags
let the compiler set the additional flags based on the optimization level
micromanaging the flags cause instability with different compilers