Fixed Makefile according to sshirokov's advice