Fixed VS2012 compiler error.