patch applied (hugs98): Fix some preprocessors directives that got lost in the translation to VS 8