Changes for ITK4 compatibility  with Windows