fixed some incompatibilities with windows .