Fix some of the compilation warnings

See #105.