Modify Makefile to support installation to an arbitrary directory.