Fixed inheritance in windows, fixed more lint err