Build fix for IBM support when X is disabled.