Remove dependency on ld