add preprocessor option HAS_JACK_METADATA_API to allow compilation for jack2