Fixed sample's main signature.
Made version ID an unsigned int.
Unsigned int uses %u, not %d.
Removed reference to sys.c.
Added reference to darwin.
Typo.
Improved os_random for unix.
Change to internal headers.
Fixed missing source file in cmake.