Do not call prepare-examples recursively for examples that are not enabled.
Avoid using a dynamic array as it causes problems in VC++
Pointer arithmetic with void* is undefined.
Fix casting Value->Barrier
Fix typo in setting pointer size.
Merge branch 'master' into minor_bugfixes
Fix autotools for changes in llvm-config (llvm 3.5)

llvm-config --ldflags no longer prints the libraries, and has
separate command for that: llvm-config --system-libs

Fixes issue 112