Initial clone and merge.

Use boost cstdint instead of inttypes.
Change toolset