Added option to install needed libraries.