Ensure module types are defined for non D.O. build.