add missing variable, bugfix/workaround for older CMake verions with TRWS