Remove gen dir from JRE tests.