Fix subproject build