Use SHLIBEXT and EXEEXT to make dist-files.mk platform independent