Have configure check for header and library when bzip is enabled.

This is pretty simple, but I'm never confident about my autoconf fu.