turned on Werror, fixed errors
Merge pull request #58 from kovach/fix_warnings

turned on -Werror, fixed errors

Closes #8
Fix warnings when building on ARM
Merge pull request #59 from fnoble/warning_fix

Fix warnings when building on ARM

Closes #44