Add CMake options to disable shared libraries/example programs.