Do not use demangle on Windows, fix unused variable