Fix compiler flags with CMake build files.
Merge pull request #53 from fkrull/cmake-compiler-flags

Fix compiler flags with CMake build files.