Add _XOPEN_SOURCE to avoid warnings from index (originates
from strings.h in FreeBSD).