Add -D_XOPEN_SOURCE_EXTENDED

This is needed for cchar_t on the Travis-CI build machine.