Add ninja as a build dependency