Fix calling convention in ODBC_API for non-windows systems