Got things compiling on clang.
Made the clang build compile in release mode.