RTGUI: fix a compile error on MDK and GCC
realtouch: remove unused code
fix linking error on Linux