hopefully fixed build script