Build of GHC 9.6 fails when the build directory is not a child of the source directory