Better handling of Thymeleaf-version variable