Sync toplevel configure from GCC