make discovering services sample compile again
Merge pull request #1 from matthiasleitner/master

Make discovering services sample compile again