Fix some GCC 4.9 warnings.