cast: downgrade license from LGPL3+ to LGPLv2.1+