fixing indirection error in build script