Fixed VC++ 2013 warnings