Fix travis build for Mac