fix .dll and .exe filenames