Add ENV option to disable platform detection.