some old build script adjustments