Fix compilation warnings with --enable-debug.