Fixing string_set_index fn
Adding utility macros for type conversion between c and zeme core