cmake test target fix

Not sure if this will fix or not. Watching https://travis-ci.org/rhyolight/nupic/builds/27876647 to find out.