Fix for accept-licenses script to find `expect` in different locations.
Test on OS X on Travis.