fix build so license check happens for PRs