Support C++ standard < C++11.
Add type_traits_helper
Some internal linkage has been removed (sort, stable_sort predicates)
(Since C++03 do not allow internal linkages)