build dir for gogo