Reverted attempt to fix warnings re: stdcall ignored, breaks on windows