Added cstdlib and stdint.h headers to common.h.