Compile (unfortunately the clang API is broken in regards to compiling to a memory file)