Ensure that pthread check comes before boost_thread check