Fix C++14 compatibility warnings.