add support for ninja build