Use portable integer types

* This commit fixes warnings that occured on Linux