Fixed detection and optional compilation of new JACK features.
Merge JACK build fixes into v0.14.97-dev