rewrite to use bsd.go.mk from lang/go