fixed build script.