Fixed an issue where not all extensions modules were being added to the path.