[CMAKE] Do not treat C4189 as an error when compiling with VS 2010, or when in releas...