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

...S