Fix issue #83: bad generated listener code when built with Eclipse