MSVC function call convention fixes. AAX compile fix.