Fix cast error for 64-bit.
Fix source extension.
Move extra mingw sources definitions for fbintl to Makefile.in.intl