Updated to compile under clang++ with c++11 flags

Added the -ftemplate-depth=256. On my system the default (a depth of
128) fails