add some missing header include; uncomment clang++ finding.
Let cmake automatic decide the value of CMAKE_CXX_COMPILER.
Merge pull request #26 from updogliu/develop

Develop
Adding <algorithm> header for VS2013 compilation.
Merge branch 'release/v1.0.2'