Fixed TG makefiles and setup_env. Also added --fsim to translator.