convert source to c++-11
try to fix travis build by not using gcc 4.6, but the latest clang (3.3)