Fixed mac (darwin) case for ln dir options. Tidied linux options.