Fix library build order
Fix library dependencies
Merge pull request #9 from ncsaba/add-libged

Add libged