Added support for Linux (tested on Debian 7)