Make __git_ps1 work on os x