add compiler version checks to serial fortran makefile