Fix c++03 errors.