Get build working with make scripts