Fixed compilation on MSVC11.