Fixes to support debian 7.x
Merge pull request #2 from telemaco/debian

Fixes to support debian 7.x