Fix missed usage with platform_detect rename.