Some work towards supporting building OpenCOR with Ninja (#364) [ci skip].