Portable specialization of boost::hash_value

Fix #175