Add dynamic library loading