Partially fix computation of multiple GPUs
Fixed GTest compilation on newer ubunut

Now, thread library must be explicity included for GTest to work.
Better material look for AVR output
Fixed compilation error introduced in c3b636f