add cmake3 installation code