fix compile error by MAX_RT_PRIO