External widget may need to be compiled with -DXTHREADS