Add support to accept specific licenses.
Fix for accept-licenses script.