Support for c++11 detection with the clang compiler

clang compiler supports most of c++11 since 2.9, and all of it (more than g++) as of 3.3.

This patch lets you build the examples if you're using clang 3.2 or above.

I've tested it myself using clang3.3 and the gnu stdlib 4.8.