Fix compile warnings
Merge pull request #52 from envato/fix_compiler_warnings

Fix compiler warnings