Added -fPIC for ARM compatibility