Add (crappy) compile script
Fix compilation of MAGIC_CALL and MAGIC_BEGIN. Still buggy tho