fix dump cmake list tools bug