Add mac bash helper functions for jenkins.