Updated compiler flags on Makefile.am.