Working Makefile for cutorch