Make library usable with ANSI C90 and C99