Fix #3800 : cmxs need execution priviledges under windows
Fix #3163 and #3843 part 1 : Cygwin DLLs have extension ".so", not ".dll"
#4843 part 2 : The .cmxs files for plug-ins must have execute permission