fix compilation errors for Brushed DC apps