Fixed some linux warnings