minimal set of compiler flags disabled to avoid bug