fix for VS10+