Fixes: #2731 Added a define for 1.0.8 for using old template system