Add forward_port bash function for Mac OS X.