Fix for CMake build type default flags being lost

The CMakeLists.txt adds -std=c++11 and related compiler flags, but looses default flags specified by CMake build type.
For example, -DCMAKE_BUILD_TYPE=Debug has no effect, as -g flag gets lost.
Merge pull request #2 from mloskot/cmake-flags-fix

Fix for CMake build type default flags being lost