implement workaround to support compilation under MSVC 2008

This fixes c5f98a70411386d03d6ba61245f2b691cf220282, which mistakenly
merged it three times. The check was also changed to apply only for
MSVC 2008 (and not for earlier versions)
update CHANGELOG