Upgrade to a newer version of the AX_BOOST_BASE macro.

Our workaround for cross-compilation has been incorporated upstream.
Upgrade macros AX_{BLAS,LAPACK,COMPARE_VERSION,PTHREAD}.