Fix library names and suppress warnings while building CasaCore