Fix build error on Raspberry Pi

On RSPi, comparison between char and int always returns false.
Note1: you need to update xfile too.
Note2: though this patch allow you to build picrin on RSPi, you cannot run because of segfault. I think the cause is xhash.