Fixed some stuff ubuntu doesn't like