The Makefile script doesn't use `$PREFIX` when I use `make install`, instead, it tries to install on `/usr/local/`. It seems it can be fixed changing `ac_default_prefix` in configure to `${PREFIX:-/usr/local}`.