Add stdint.h to main.c, re-gen automake

Fixes build on linux (and drone.io).