Fixed wall deleting segfault under Windows