Well, actually it already created an executable. I was just irritated by the message that was saying it created a DLL.
Would have closed the question, but there was no option "already solved" or similar.