fix environ circularity
apply library synonyms using wrapper functions, to avoid needing hacks in the compiler ; 1.19.2
fix memcpy for ta0 and ta1