fixed build haskell tools script