Fix build warnings with -Wall.

As noted by Zenon Mousmoulas (zmousm) in PR #23.