If you wait, the compiling will automatically switch to "standard dexer" instead of "optimised dexer". It is generally not that obvious to see that there is a new dialog that asks you if you'd like to go on with the standard dexer, or just abort everything. This automatically happens each time the compiling time takes too long. So you should check quite a few times whether that dialog comes up and go on with the standard dexer.