fix dev error on openbsd