adopt to RTGUI 0.6
fix RTT_RTGUI getenv