FIX linking against pthread
make dist target
FIX symlink archiving