Change makefile to more easily port between platforms, turn on midi by default.