Rearrange library order in configure.ac

Currently, autoconf checks for Boost.Filesystem before Boost.System. However, Boost.Filesystem *depends* on Boost.System, so the configuration exits with linker errors about lack of Boost.System symbols. Rearranging the order fixes that.