rebuilt for modern GHCs / dependencies