let templates use the orocos cmake macros

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>