configure: Fix jack auto-detection, broken since 3fc8500