I'm not sure we need to care about the `.DLL` and `.EXE` cases. The rest of the code doesn't.