do not reinvent the wheel given that Sys.which is available (not
to mention portable)