some build script cleanup