Removing windows compilation crashes