Fixed VS2012 compile error.