extract buildtag command