fix name of cmake curses package
fix lib inclusions and cmake some more
change build directory to cwd
Merge pull request #1 from IGI-111/master

Working Build System