Fix build for non-C99 compatible compilers