Don't use GNU-make specific export for global AM_CFLAGS

Just define it at configure time, it's automatically set in all makefiles.

Fixes #203.