fix if/endif in MIDIManager header