[GHC] #7754: Can't find curses.h when building cross-compiler