fix value copy in rtmidi_get_compiled_api(). Add some more compilation flags.