Fix configure.ac CFLAGS handling.
Fix a debugging statement that was not surrounded by the proper debug level
check.