GSM examples - Compilation Error

The board is Funduino Mega 2560 R3. Cannot read version else than "R3"