BitDefender detects output as a virus

You have restarted after changing the environment variable or legged of at least to make sure all related programs pick it up correctly?