gcc looks for programs in a path relative to its executable's location..
This may work around ghc's -no-pie flag. Untested.