Add undef for HAVE_DEV_PTMX.