Add check for OS X