Bug fix: on Windows the parent class name was detected incorrectly