ALSA backend: device detection
ALSA backend: tweak midi parser (fix start mid sequence)
fix wscript for x-compiling