Fix the examples to work with the new build system