scimoz: tweak to allow building on mozilla 35

(integrated from master branch change be4a402 by Todd Whiteman <toddw@activestate.com>)