Fix for VS2010