Fix the available? function for 10.9 and 10.10

Now works as long as the version number is still `/\d+\.\d+/`.