Check whether compilers are binary files or a wrapper script

Avoid the creation of tarballs that will not work.

Signed-off-by: Rodrigo Belem <rodrigo.belem@gmail.com>