fix compilation issues. modify TestIdl2Go so it fails if dir cannot be created