fix travis for macos
fix travis for macos