Fix more include/linker problems for the examples