COMP: Changes needed to build with Visual Studio 2010

Changes were reported to be necessary for building with Visual Studio 2010.

There was also a compiler error where itkDebugMacro was used outside of an ITK class, which I fixed by replacing it with itkDebugStatement.