source3/lib: include config.h before any glibc headers