A small change that make the project compilable with c++11
ensure the paired files are different

thanks to Nelli Talo for the report
Merge pull request #73 from pradosj/master

A small change that make the project compilable with c++11