Pull out the build ordering into a separate file