Correct errors in build files