fixed nonfree compilation with gpu (perf tests)
Merge pull request #688 from jet47:fix-nonfree-compilation