don't overwrite necessary compiler flags

Distinguish flags influencing optimization (overridable) from those
necessary for building (e.g. for using SSE).