Fixing vc11 compilation error