pthread_setname_np not available in old glibcs

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>