fix stage0 build