Fixed warnings in Linux.