Try linking in libgcc and libquadmath