Make the code buildable on MSVC2010

In order to use it with our own libraries...