only initialize the class loader if needed