Support host Linux and Darwin