This adds support for different platforms where the binaries have different extensions. Signed-off-by: Michael Schenk <michael.schenk@noser.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>