ifdef-ed tdestroy() by _GNU_SOURCE