Prevent missing openpty prototype error on FreeBSD.