fix sub-module builds so that the license check works
Merge pull request #1481 from jbertram/master

fix sub-module builds so that the license check works