Fix compiler args for private headers