Disable flags that break the build.