Added support for loading dynamic libs.