Use glib API 'find_program_in_path'

Use directly 'GLib.find_program_in_path' instead of spawning which to detect the
path of the the tools.