Fixed bash errors in travis config.