Proper version comparison on OS X

Update the version comparison to compare properly to work on versions
greater than 10.9.

If the second piece of the version number is greater than 9 and less than 50, Puppet will fail as unsupported without this patch.