Fix dependency issues that occur while building sensord on an old snapshot