Updated Jenkins script for OS X.