Fix usage of C99 and not C89