MacOS.version in case statement doesn't work with ranges