Fix runtime error under VS2013

In the event that 'iw' is never set, the VS2013 debugger will throw a
runtime error if the application attempts to use it.