Fixed makefile for compiling Q6