Revert "fix CMakeLists.txt"

This reverts commit b53f616135c5ed61042587ac1bfbe167b878f320.
fix cmake cflags