Added missing decay
Fixed CMake C++11 library features on clang