Added better report() support for Mac Darwin.