- fix c++11's compile problems.