Fixes Makefile for packaging and local install.