Disable some optimizations to make this build with GCC 4.9 cleanly.