+ Added automatic platform detection.