Fixed compilation on OSX

C++ Dependencies compiles with clang++ and libstdc++
Components compiles and behaves with clang++ and libstdc++
standalone binaries not working yet.
merged dependencies changes (windows) from upstream
merged with master