allow directory as second argument in ln

Signed-off-by: Mattias Andrée <maandree@operamail.com>