config: Fix compilation errors