Updated utils/query Makefile to build correctly