Fix compiler warnings (-Wreorder)