bugfix: some builds don't have a native event env