fix compilation stuff for ITK integration