Use system's RT_ROUNDUP and RT_ADVANCE macros instead of local copies.