Fix build for main.c on c99