fixing Travis CI build issues.