Build and install shared libs.