I always have the same problems (ModuleInfoZ, initZ, etc) when using import modules (.di files) wich i then have to include in the compilation process to get rid of linking errors. I do not know if this is the case.