Use icalproperty_get_value_as_string_r
Rename CC variable to GCC

This avoids stupid GNU Make rules which really just break everything,
and we're pretty dependant on GCC anyway.
Add ncursesw CPPFLAGS