Using complex from C code