Add compatibility with Ubuntu 12.10
Merge pull request #2 from pchaussalet/master

Ubuntu 12.10 compatibility