Respect CFLAGs environment variable

Was trying to cross compile for iOS and noticed that Makefile.am ignores custom CFLAGS environment variable. This fixes that.