Try to make libgcc and libstdc++ static.