Use different check for libbz2 on Windows.

Windows port of libbz2 cannot use AC_CHECK_LIB.
See https://mail.gnome.org/archives/gnumeric-list/2008-November/msg00038.html for an explanation.