relocate pointers into external libc functions