condition for OS X