Parse GNU stuff for libc_posix + minor script fixes

For libc_posix, define _GNU_SOURCE (and use std=gnu11 in case it adds
stuff) to add GNU-specific identifiers.

Also add stropts.h header (defined by POSIX 2008, see here:
http://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html)