fix package names, setting vars for build