Fix #365 producing huge packages because of hard links