Add AC_CHECK_LIB for boost libraries

configure.ac (AC_CHECK_LIB): Add boost libraries check
Makefile.am: Remove explicit boost libraries link

-mt suffixed boost libraries exist.