You have to remove the path from the Settings -> Compiler -> AVR GCC -> Search paths -> Compiler.
I've been bitten by this problem, but I don't know how to reproduce it reliably.
If you know the steps don't hesitate to post a ticket on sourceforge.net.