only run osx scripts on osx