Fixed makefile

not pretty, but it works