Modified makefile to compile on more distros