support os x for git package install