this commit will ensure that any concurrency during the go build only happens across platforms, and no concurrent calls to go build or go install happen for a given platform. the goal here is to reduce races between concurrent invocations of go build where package files are removed form the file system leading to "can't find import" errors.