basic fixes to ext/sybase_ct
basic fixes to ext/interbase