fixed GH# 109, fixed clang -std=c++11 compile errors, added clang -std=c++11 build configs for OS X