Fix for new hash implementation and libcollections.
fix build