This makes sure it finds the executable even in cross-compilation mode where search paths are different.