platin: improve install script (automated installation of dependencies)