override AM_CFLAGS holding conflicting optimization flag, remove unneeded --with...