fix version check for Pathogen