make: fixed compiler selection for unknown compiler names

full paths to compilers are now supported for the configure
helper script.