Use xl or xm

This patch detects xl or xm based on the environment. (SLES11 includes both, but only xm is supported.)