add explicit linking to libpthread as RooFitCore now uses pthread_mutex.