[TIMOB-16153] Fixed up the various hook calls to use the correct API and improve error handling.
[TIMOB-16179] Removed statement that prevents x86 modules from being included in builds.
Merge pull request #5207 from cb1kenobi/timob-16153_3_2_X

[TIMOB-16153] Fixed up the various hook calls to use the correct API and...
Merge pull request #5228 from cb1kenobi/timob-16179_3_2_X

[TIMOB-16179] Removed statement that prevents x86 modules from being inc...