Fix comptool build