Replaced non-standard int types.  Fixed build on x86_64

Signed-off-by: technosaurus <bradley.conroy@gmail.com>