Revert "makes hostory works on debian"

This reverts commit c9c64611b6026d447d503dd4ca35da96c4ff6ea8.