Fix build script dependencies