Fixed compiler warning in dynamic class loading code.