Hacked up makefile - now compiles