Skip check for Readline and Curses.

We don't build the Lua CLI, so we don't need to search for or link to
Readline and/or Curses (which always errors out on Win32 anyway).
Skip loading dist info.

We'll be handling the packaging ourselves.  Also, the dist.cmake module
spits out a bunch of extraneous messages that show up as errors, which
is very annoying.