Vs2008

This fixes #219 - Compilation failure on VisualStudio 2008 (v3.5-145-g21855be)

There is one failing test, which was already present in v3.5 (Issue #196), and which is NOT fixed by this pull request.