fix building w/o jack-session