You could to try to compile ROS Melodic rather than ROS Kinetic that targets more recent OSes. You should be able to follow the same instructions and just replace kinetic with melodic in the commands.