Another cmake 3 fix regarding command [ and test.
Merge pull request #66 from rudimeier/master

Another cmake 3 fix regarding command [ and test.