Fixed some warnings on ARM

Now Hercules is officially able to compile and run on a Raspberry Pi.

Signed-off-by: Haru <haru@dotalux.com>