Fix SUNCC build issue. Fix reading of setting