Added temporal workaround for pthreads version check