added static linking against stdlibc++ and libgcc for higher portability