merge darwin amd64 support by Karl Moeller