Use specific datatypes.

@todo Include stdint.h?
Add install locations for demos and tests.