ensure core mutex created in recursive mode, forces use of -lpthread
refresh from configure.in
fix unused variable warnings in healpix
use PTHREAD_MUTEX_RECURSIVE_NP on pre-unix98 systems instead of PTHREAD_MUTEX_RECURSIVE