Add support for named threads (Linux only)