fix error in travis build scripts