Well, it appears to have compiled and installed okay with LD_SHLIB=ld but I would assume that the rewrite patch shouldn't have changed that although it did.