Update makefile

Makefile was not working in current Linux Mint and Ubuntu systems.