Ignore the Buildinfo file, it is created by the tagging process and records only version information.
SWI-Prolog behaves differently depending on whether the application is run using the SWI-Prolog binary (the program name is not included in the argv flag) and when it is run as a native executable (the program name *is* included). This commit will just try both possibilities.
Improved the API startup identification.