stdcall support on Linux

libffi only seems to support stdcall on Windows.  However, Linux supports the stdcall calling convention, either via functions explicitly declared with the stdcall attribute, or via code compiled with -mrtd which effectively makes stdcall the default.

Currently working on a patch for this.