Use stdint.h for types.
Use specific datatypes.

@todo Include stdint.h?
Merge pull request #10 from berkus/fix-types-1

Fix some types by including stdint.h