Added Platform.hh header for unified platform detection.