Switch to clang for debugging build + fix issues