Remove dependency on realpath; now we use readlink instead which is more ubiquitous