wtypes: include buildfix if XDM_H is defined