Added check for powerline on os x - could be better