debian support added.

Tested on Debian Squeeze