Add install prefix

Being able to provide a prefix and have the script installing the libs can come in handy for some users (me).
This PR does not break any functionality since the parameter is optional.