Fixed broken gcc build