Travis build script bug fix