option to link to static libstdc++ and libgcc