Resolve compilation warnings
Fix `make check` on Linux