Another cmake 3 fix regarding command [ and test.

regarding issue #62