Fix XBM to parse #defines correctly.