Build: Add check for license issues (fixes #782)

Right now the build is failing due to log-driver and path-platform being unlicensed. Resolution is being discussed in #782, so this PR is a WIP to illustrate the code I have.