small changes for package building