Switched type usage to C99 stdint