Add calling convention on windows