yet again fixing the tr1 checking logic.

Apparently, it's very hard to copy code from windows to Linux for
committing.

Change-Id: I8c6491aec6d061101cd1e9b7658fd49502723a0e
Merge topic 'SIMPLEITK-401_FixTR1CheckingLogic' into next

0998832 yet again fixing the tr1 checking logic.