Guard this use of PIXMAP_DIRECTORY with an ifdef.  It only has meaning
when XPM support is enabled.  Though I'm not sure it makes any sense
any more for that to be conditional, but...