Fix wrong logic in ARM architecture detection for compilation
Merge pull request #1887 from vdumoulin/rpi_bugfix

Fix Raspberry Pi-related bug