repair compilation in strict ansi mode