Automatic build of packages