Fixing guard against Perforce not installed.