fixes #85, --enable-debug=no and --disable-debug to actually disable debug