Use --with-debug as default when configuring

Also allow to disable it by --without-debug