compiles cleanly with xmidi.h