Fix some compiler warnings
Merge pull request #13 from mspensieri/compiler_warnings

Fix some compiler warnings