Factoring out compiler and compiler flags
Handle the case where the file doesn't exist.