fix c++11 compiler confusion
Merge pull request #21 from alex85k/pair-fix

fix c++11 compiler confusion