add cmake upgrade to rpm build script