Add support to accept specific licenses.
Test on OS X on Travis.