Correct errors in build sh files