By default the AppleAppBuilder will add -llvm.o files to target_link_libraries in CMakeLists. This works great for tests, but not for the sample because we are picking up all files from bin and adding them to APP_RESOURCES.
We should clean this up a bit and try to make it similar to the test build.