Adding boost thread lib to configure script for Ubuntu to fix build error on travis