Fix compatibility with perforce-2.2