Replace glib.h with stdint.h for standard C99