enum tautological error fix for amd64 targets
double paren enclosing fix for pe targets