Fixed static stl link.
Added ld flag for so.