Better Debian/RH support. Option for smallfiles.
Minor fixes.