Fix for accept-licenses script to find `expect` in different locations.