fix: doctor resiliency fo runknown platforms + openbsd warning (#3551)