made bincheck compile with ghc7.6.3