fix platform check in ads::Manager