Fix compilation against droplet v3.0 and issue #7

a few fixes (compilation with latest droplet, CMakeScripts improvements..) that should be useful