cmstest: Fix compile on some older systems
Remove some old CMake leftovers
Add version check for WebP in CMake (we need 0.3.0)