Fixed build error by wrong chained bash commands