Fixed linux warnings