Fixed warnings with make check.