Updated minimum CMake version requirement to 3.

Interface libraries were only added to CMake in version 3.