search for ghcjs-specific haddock when configuring