SerialUSB RX Buff Size

CDC_SERIAL_BUFFER_SIZE here:

the file hardware/arduino/sam/cores/arduino/USB/CDC.cpp distributed in 1.5.1 has some incorrect constants SERIAL_BUFFER_SIZE where CDC_SERIAL_BUFFER_SIZE must be used.
The patch is already in github and will be released in 1.5.2, I suggest you to download the file from the link above and replace it in your installation.