update pthread_mach_thread_np
include Availability explicitly