Change the way that the DISABLE_GEMS flag is set for vs2012.