Fix test error on non c++11 environment; Boost.TR1 is deprecated.

This pull request rels to #17 .