Fixed some problems from old gcc.