Fix compiler warnnings