Fixes to enable osx maverics compilation for desktopstreamer