Add iOS support in functions.php & odbc.php