Look for prelude in the Links executable's directory.

This should also fix the trailing slash issue with the LINKS_LIB environment variable.