build main packages when you build sub packages