Fix for debian environments

Hi, 

Now you module works well with ubuntu, but i use on Debian and i make this changes for working also. And also added changes for other pull request. 
it's correct for add debian support, you can remove the empty line if you want , but i test on my machines and works.