Adding compiler optimization flags.