limit usage only for osx and linux platforms