Remove build optimization flags to fix compile.

Why does this need to be done? I don't see anyone else doing it.