Reduce clutter template deprecated warnings.

 * One warning is still remaining: Actor.animate
CMake: Make tests target dependent of guanako and valama targets.

 * Fixes parallel build issue but not problems with single source files used
   by multiple targets.