patched Makefile to honor predefined standard variables and create install directories