'make install` incompatible with BSD install(1)

`install -D ...' isn't supported on OSX, switch to `mkdir -p`

Make `PREFIX` overridable by envvar.