Remove (now redundant) PTHREAD_MUTEX_RECURSIVE flag on mutex to enhance compatibility