Fixed CMake scripts, fixed building DesktopStreamer on OSX.