Fix MSVC9 warnings.