small cleanups
fix some missing symbols in launchd
fix  type breakage