Fixed library loading.