Fix building with boost 1.53: this header has been deprecated since boost 1.53

Signed-off-by: Ruben Smits <ruben.smits@mech.kuleuven.be>
cmake: fix APPLE LINKFLAGS wrt rpath settings

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>
macosx: fix clashing Posix features defines

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>
Merge remote-tracking branch 'autobuild/master' into next
cmake: fix the SelectOneLibrary macro, it added one } too many

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
tests: disable testThreadPID for macosx, this is not supported yet

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>
fix for bug 1047: Added missing boost version check

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>
os: fix for bug 1046: OSX 10.8, boost 1.54, apple-gcc-4.2 RTT main-test FAILS

Apparently copying the boost functions went wrong and we ended up with a NULL pointer.
Fixed by directly using the function pointer instead of the boost function.

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>