Fixed packaging to build on trusty

It might be slightly less clean but works. It was also tested on saucy.
Merge pull request #127 from chrisglass/fix-trusty-packaging

Fixed packaging to build on trusty