create a hard dependency on some curses library
Re-add some XXX Makefile comments
Only grab the first matched fragment in varnishncsa

Fixes: #1462