build: add ninja build tool and make it available for cmake