Again fixes library loading via require.