Fixed dynamic DLL loading