Fix compatibility with redmine 2.5.1