fixes #238 CMake issues

This improves the Debug mode linking time by effectively building LLVM Release+Asserts (unless ENABLE_LLVM_DEBUG is set) and pulls ccache and gold configuration into cmake. Gold is enabled by passing -B${CMAKE_SOURCE_DIR}/tools/build_system to gcc or clang for linking and used directly for for src/runtime/inline/*.