Platform sniffing functions