dist-upgrade before building runtime