Add support for smallfiles config option.
Fixed smallfiles for > 2.6 warnings
Merge pull request #53 from hogepodge/smallfiles

Add support for smallfiles config option.