IDE 1.5.1 Compiling Problems with DUE

Read this thread: http://arduino.cc/forum/index.php/topic,144981.0.html