guess the platform from a configuration