Fix subproject build failure