Ensure _XOPEN_SOURCE_EXTENDED is defined for Linux ncurses; src/Makefile