Fix https://github.com/konsoletyper/teavm/issues/30