update makefile for global installation and deb creation