Implement out-of-tree build and packaging
Fix forgotten include
Remove the unneeded Curl dependency
Merge pull request #5 from nohal/packaging

Implement out-of-tree build and packaging