make emerald build with the new preproc syntax
Ported libc from pokeruby
Ported task.c and others from pokeruby