[CentOS] Problem with gettid() on CentOS 5/gcc 4.1.1