Add check for JACK header and library to configure.ac.