Separate debug and release targets
Add Win32 hack for stat of 4GB+ files
Revert logging of TIFF errors / warnings (is chatty)