strings workaround, thanks to lcamtuf