Fixed ensure_link to use -T option to ln.