Fix compilation of MAGIC_CALL and MAGIC_BEGIN. Still buggy tho