fix actor mocking undefine support files on JRuby