Creating a class loader for each compilation session to avoid memory leaks