Fix Ubuntu Debug and Release build
Merge pull request #44 from eile/master

Build fixes