Add a method to error out on missing packages and use the implementation...

... for readhline/readline.h

Without this patch, compilation of extensions will fail down the line. While I realized this is
often normal behavior, I think it makes sense to error out quickly so people don't waste time
just staring at stdout before an obvious error rears its head. There are probably other headers
we should eventually add, like openssl and zlib, but I figured this would be useful just to get
the basics in place.