running configure only when Makefile is missing