fix a compile error in travis-ci :weary:

- reason: different standard between gcc and msvc