Add static-libgcc to loglib and logview