Add better multiplatform support to boot2docker.go

This should help with cross-compilation, too.