Adds buildargs and fixes lazy attributes.