add __USE_GNU to CPPFLAGS when using built-in gnu_regex

suggsted by @ffes.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>