[backend] support buildengine in worker and scheduler