Remove dependencies on GNU extensions.
Remove checks on headers and functions from the standard library