Fix for Mac crash on Yosemite because of changes in version checking