Port --enable-gcc-warnings to GCC 6.2.1