-Fix: OS X Midi for SDK >= 10.5 and fix midi_reset()

Still need to properly add the right frameworks to LDFLAGS