Handle symlinks correctly when building NPK