Default value for NCURSES_OPAQUE and fix conversion warnings on clang

Needs some testing on regular linux, the NCURSES_OPAQUE is set whatever platform you are on.