build: Disabling shared library (only static library is compiled) and disabling installation of tests and examples

Change-Id: I5a467ba7f032776863a9d32858684bde847e47d8