check xgcc first, then, clang
differentiate libstdc++ and libc++
support for the non-tr1 stuff
support for the clang + libc++ found in the OS X 10.9
Use of new std::log1p and std::lgamma
updated for os x 10.9 and supports both of libc++ and libstdc++
added -O3 flags to the examples