use /tmp directory for log file on Non-Win32 platforms
use #ifdef instead of #if
output error from GDAL when dataset open fails
use bounding sphere variable
Merge pull request #393 from aroth-fastprotect/topic-compile-cleanup

some minor fixes and improvements