Fix a bunch of warnings on non-DEBUGGING perls