cmake and gcc warning fixes
Merge pull request #96 from mkrivos/small_fixes

cmake addition and gcc warning fixes