Minor changes to sparsebundlefs

Mostly fixes to warnings. Also add -d to the Makefile.