strdup not recognized without _BSD_SOURCE on fedora