Update Makefile.am

Use AM_CFLAGS and AM_CPPFLAGS instead of the user variables.