Update TestZMQVersion to handle ninja generator