Fix reference so required modules are properly linked
Merge pull request #1308 from jcollins1991/fix_requires

Fix reference so required modules are properly linked