Updated makefile for compatibility with ngsTools