fixed missing template specialization in Duration class