Use the correct name for perl thread context variable
Switched over to tcc_compile_string_ex for better error reporting