Add check that 'struct ModuleInfo' exists in object.d
Merge pull request #1925 from ibuclaw/moduleinfo_struct

Add check that 'struct ModuleInfo' exists in object.d