Correct build script function syntax under sh.