fixed include in windows version to make it more defensive