fix go and rust on darwin