fixed nonfree compilation with gpu (perf tests)