Test on both makefiles and ninja