fixed build script dependencies for ast