fix portmidi make check when switcher uninstalled