Fix mantisbt DSM 5 compatibility