Fix building error in bsp/mini2440 (Issue #26)

Please check the correction if possible, @Grissiom, @BernardXiong. 

I'm not very clear about the architecture in RTGUI, neither do I have the a test environment.