Makefile.am: Add missing AM_CFLAGS
Some targets were missing AM_CFLAGS so
it was not possible to compile C99 features
in their source code.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
(cherry picked from commit 3b1aa479b377e570c6dff359a1f8099289a2af75)