build script: fix up stuff for 4.3