rearrange libs to let libgcc link against libc.a