Merge "metricsd: build on non-Linux hosts"