pub fn initialize_platform_detection()
Initialize platform detection (can be called multiple times safely)