- Don't fail re-registrations, just accept the last registration.
- Call a static version of aim_modules_init() in shared-library constructors.
  This is required to ensure we call the correct modules_init() function (the one relevant to our own librarie's code).