Moving away from _GNU_SOURCE for portability.