Fix cases for VS2012.