Fix build for Clang in OS X.
Remove redundant compiler checks.
Upgrade Boost to 1.54.0; support C++11 for Clang in OS X only.