disabled executables (examples) and enabled shared library by default