Use c++11

I fixed the problem pointed out in #216.