change variety.h to properly handle wrtdll build