Putting cmake required version call inside the rosbuild/catkin switch