[!] Fixed PC build
[!] No longer needed to clear tnl flags
[~] Removed unused variable