Better error messages for auto.def errors

If an error is thrown in auto.def, show the location
where the error actually occurred (if possible).

Signed-off-by: Steve Bennett <steveb@workware.net.au>
Avoid .dSYM directories on Darwin (OS X)

Signed-off-by: Steve Bennett <steveb@workware.net.au>