cmake support small changes