Use cross-platform ruby mktmpdir in comparelinks.rb