Lower Cmake version requirement.
Remove unused typedefs.