Add CTestConfig and add Release, Debug and Distribution CFLAGS
set CMAKE_BUILD_TYPE to Release by default