Fixed CMake scripts, fixed building DesktopStreamer on OSX.

Change-Id: Ib9a37a64ea2132a1bbcba1245e2c1f40c9de16b5