Improved the CompilerGenerator attribute generation so it also works on universal apps