Made spinlocks not found if pthreads are not detected