Open modules.
Try changing the include order, as the modtypes headers won't be compiled by themselves anyway