Updated genlinks to assume ~/.dotfiles/ and added fix for Darwin.