MIDI input doesn't work with -O3 or -O2 optimization levels, no real idea why at this point. So just append -O0 to CXXFLAGS to override previous optimization flags for compiling the PortaudioBackend files