removing windows depentent code