Bump _XOPEN_SOURCE to 700 for strndup()

The strndup() function wasn't added until [X/Open 7, incorporating POSIX 2008.][1]  So we have to bump _XOPEN_SOURCE from 600 to 700.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/strndup.html