Update configure script to stop requiring libboost-thread