add pipe2 flags for netbsd