Fix massive issue with symlink generation.

* Symlinks now choose absolute/relative paths correctly for debian.
* Don't try to chmod symlink files.