Check we're not using stdcall in foreign export on unsupported platforms