rebuild curses with VS2010

fix bool type, also add missing headers