Added $(EXEEXT) to custom rules for Windows support

This fix is due to Bjarke Hammersholt Roune!