Remove define for boost::thread.
Boost autoconf macros find the wrong boost_system lib when doing shared
linking as well. Made this correction conditional on mingw only. Also
cleanup location of boost::asio stuff.