Add checks for OSX