Merge pull request #1 from mirrors/master

compiled with c++11 switches