Add _GNU_SOURCE to get asprintf on linux machines