Proper handling of Release mode. CMake requires some cajoling to deal with the CMAKE_BUILD_TYPE and CXX_FLAGS. Change-Id: I239f01e61c4985e0dbdc078ff0f4f377eceb36b9