Merge "Build hostdex on only Linux."