[install] Portability improvement
[bash] OpenBSD compatibility, cleaning