rthreads - build fix