configure.ac: add -g to CFLAGS for debug information