Remove odd ``/`` ending PREFIX; create directories with ``-d`` first to be portable

Hopefully, this will enable the makefile to be compatible for both BSD and Linux ``install``s.