fixed compiling for arm (iPhone)