fix bug in makefile that it keeps going even with errors