Fixed warnings on Linux.