fixed small bug in exceptions output and makefile