demokit sketch complie error 'CapSense' does not name a type

hey guys, i'm a newbie to arduino.
i just got a mega ADK and tried to install the android firmware sketch demokit but i get an error " 'CapSense' does not name a type.
i've tried to using an older IDE, tried reinstalling the libraries, restarting the machine nothing works i still get the same error.
I have the CapSense library in the IDE library folder marked named as CapSense but this is not the name it comes out of extraction with, could that be the case.
I've tried the board with different programme and it works perfectly, so there's no problem there, used the blink sketch.
I'm stuck, i would appreciate any help i get to solve this