core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin