Fix a C++11 compatibility issue.