various bug fixes to symlinks. 

this should fix #29 as well. Though I still need to change which directories are looked at in rebar builds.