adding preliminary os x support