cmake: fixing Clang on OSX

compilers and their flags must be passed on to 3rdparty libs

libc++ must be enabled on OSX systems (couldn't get Clang with GNU
libstdc++ to work)

Signed-off-by: Torbjörn Klatt <t.klatt@fz-juelich.de>