makefile: improve the install target to work in more unix environments