Fix linux compile warnings