Make dot only run for OSX