fixing samples

contrib module is gone and thus some samples cannot be build for the moment.
This fixes only the building process. Checking the performance of the sample itself is for a later stage.