Have you tried compiling with clang 3.4 and without -DEXITFREE?