Check the right macro to decide if we can use privoxy_mutex_lock().