Use threads in non-standard Ruby implementations