detect arm cpus by cmake and compile lualib with -fPIC