Apply VS2012 workaround from 7f5df97c847f542f00b8ffbca35da75bfa470b94 consistently across all projects.