fix template paths in examples/library

also remove commented debug