Fix worker compilation