make ptyproxy compile on freebsd