Fix a typo in configure.in file

It didn't allow to specify custom location of curses library.
Fix setting of value of $CPPFLAGS in configure.in

It didn't allow to specify custom location of curses library.
Touch aclocal.m4 file

A workaround for autoconf to ease building after pulling commits, which
change configure.in script.
Merge branch 'fix-typo-in-configure'