Replaced the MS specific __int types with stdint.h
Replaced __fastcall with a portable FASTCALL macro.