support for unix versions (os x and linux)