os dection for default profile resolution