Fix build for ARM

This allows the code to compile for Android