Fix in Makefiles to output errors to NULL