Small tweak to portmidi.