Add compatibility with Ubuntu Precise.
Merge pull request #4 from greenmoss/Ubuntu_compatibility

Add compatibility with Ubuntu Precise.