The define is now called HAVE_WAITPID without the LIBVNCSERVER_ prefix.