Add the warnings back in AM_CFLAGS. May need more work for other platforms