Fix build script for Travis.