Fixes error in build script