modify PERL_DIR path of gen/test_generator.pl