Getting rid of stupid serialization warning
Fixing signed/unsigned compare
Renaming last WITH_ cmake options