Update makefiles to use readlink instead of less portable realname.