Fix relocation weak symbols