Fixed calling convention on unmanaged thunks.