Fixing generateExecutable.