buildbot: use ninja for check, too(addition to fix #3511)