a couple of fixes
fixed the distro build