Setting CXX_FLAGS would cause build to fail
Merge pull request #72 from asmaloney/cmake_fix

Setting CXX_FLAGS would cause build to fail