Fixed some pleaces wich give warnings in the ubuntu builds