Simplified version of make using stat, fork and execvp