Some work towards supporting building OpenCOR with Ninja (#364).