Make Makefile use INSTALL_PREFIX

Because calling make with --prefix option doesn't work on OS X we read
the environment variable INSTALL_PREFIX to determine the destination.