Updated file for c++11

Otherwise it won't compile on OSX 10.9.
Merge pull request #2 from colincsl/patch-1

Updated file for c++11